/**
 * Encapsulates the result of a game.
 */
public class GameResult implements Score {
    private int HomeTeamScore;

    /**
     * Get the score of the home team.
     *
     * @return Score of home team
     */
    @Override
    public int getHomeTeamScore() {
        return HomeTeamScore;
    }

    private int GuestTeamScore;

    /**
     * Get the score of the guest team.
     *
     * @return Score of guest team.
     */
    @Override
    public int getGuestTeamScore() {
        return GuestTeamScore;
    }

    /**
     * Create a new immutable game result. 
     * A game result is always bound to a game.
     * @param HomeTeamScore Score of the home team
     * @param GuestTeamScore Score of the guest team.
     */
    public GameResult(int HomeTeamScore, int GuestTeamScore) {
        this.HomeTeamScore = HomeTeamScore;
        this.GuestTeamScore = GuestTeamScore;
    }
}
